package cn.tedu.csmall.server.util;

import io.jsonwebtoken.Claims;
import io.jsonwebtoken.Jwts;

public class JwtUtils {


    public static final String SECRET_KEY = "ASJSASASS";

    public static Claims parseJwt(String jwt) {

        Claims body = Jwts.parser().setSigningKey(SECRET_KEY).parseClaimsJws(jwt).getBody();

        return body;
    }

}
